package com.xhlj.utils;

public class RedisKey {
    public static String basePrefix = "xhlj:";
    public static String Login_captcha_prefix = basePrefix + "loginCaptcha:";
    public static String Weixin_Login_key=basePrefix+"weixin:tempUserId:";
    public static String Login_token_prefix = basePrefix + "loginToken:";
    /*
     *  描述redis中的每日任务 task_prefix + rule_id +payload
     * */
    public static String Task_prefix = basePrefix + "task:";

    /*
     * redis中点赞信息的存储
     * basePrefix:like:userid ->(comment_id1 ,is_liked)
     *                          (comment_id2 ,is_liked)
     *                          (comment_id3 ,is_liked)
     *                          (comment_id4 ,is_liked)
     * */
    public static String Like_prefix = basePrefix + "like:";
    public static String Post_Like_prefix = basePrefix + "postLike:";
    /*
     * redis中回复状态信息的存储
     * basePrefix:replay:userid ->(comment_id1 ,is_liked)
     *                          (comment_id2 ,is_liked)
     *                          (comment_id3 ,is_liked)
     *                          (comment_id4 ,is_liked)
     * */
    public static String Reply_prefix=basePrefix+"reply:";
    /*
    * 通过订单号作为标识村塾用户的Username,因为支付宝返回后会携带订单号和支付宝id
    * */
    public static String Alipay_prefex=basePrefix+"alipay:";
    /*
    * GenerateImg_prefex+task_id
    * */
    public static String GenerateImg_prefix =basePrefix+"generate:";
}
